package com.emergency.db.service.item;

import com.emergency.db.domain.item.HugeItemStatus;
import org.springframework.data.domain.Page;


import java.util.List;
import java.util.Map;

public interface HugeItemStatusService {
    Long save(HugeItemStatus hugeItemStatus);

    HugeItemStatus findById(Long id);

    List<HugeItemStatus> findAllByItem(Long id);

    void delete(Long id);

    void deleteAllByItem(Long id);

    Page<HugeItemStatus> findList(Map searchMap, int page, int size);
}
